Skip to content

Capability guides live in docs; skills are symlinks; a family names its guides - #803

Closed
lmoresi wants to merge 1 commit into
feature/class-describefrom
feature/capability-guides
Closed

lmoresi wants to merge 1 commit into
feature/class-describefrom
feature/capability-guides

Conversation

@lmoresi

@lmoresi lmoresi commented Sep 27, 2026

Copy link
Copy Markdown
Member

Curated guidance the code cannot state about itself was split between .claude/skills and the rulings in CLAUDE.md. Each guide is now one MyST page under docs/developer/guides/ with front matter (name, description, families, kind); the seven skills are symlinks to those pages, so there is one source. Two guides are new: transport-schemes (drafted from this month's tests, with the open rulings marked) and boundary-condition-rulings (gathered from CLAUDE.md and the issues).

The library reads the front matter: uw.capabilities() lists a guide beside its family, uw.systems.Stokes.view() ends with the guides that apply to Stokes, and the server serves them (uw_guides, uw_guide). The developer index carries a "Capability guides" table.

The review contract: a change to a solver family, constitutive model, history scheme or boundary mechanism is reviewed against every guide that names it, in the same change. docs/developer/guides/adversarial-review.md and CLAUDE.md say so; test_0030_capability_guides.py fails on a copied skill, a guide without front matter, or a family name no class carries.

Stacked on #802. The two new guides need Louis's rulings on the points marked open.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Na7qBenCp67rDTZhFGTh5V

…ts guides

Curated guidance the code cannot state about itself — which transport
scheme, which boundary treatment, how to make a hard solve converge — was
split between the AI skills in .claude/skills and the rulings in CLAUDE.md,
two paths with no index and no reader outside an assistant. Each guide is
now one MyST page under docs/developer/guides with front matter naming the
families it applies to; the seven skills are symlinks to those pages, so a
skill cannot drift from its guide. Two guides are new: transport schemes,
drafted from what the tests established this month with the rulings still
open marked as such, and the boundary-condition rulings, gathered from
CLAUDE.md and the issues.

uw.capabilities() reads the front matter and lists a guide beside its
family; the class-level view does the same, so uw.systems.Stokes.view()
ends with the guides that apply to Stokes; the server serves them with
uw_guides and uw_guide. The developer index carries the table. The
adversarial review contract gains the rule, and CLAUDE.md the pointer: a
change to a family is reviewed against every guide that names it, in the
same change. test_0030 fails on a copied skill, a guide without front
matter, or a family no class carries.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Na7qBenCp67rDTZhFGTh5V
@lmoresi

lmoresi commented Sep 27, 2026

Copy link
Copy Markdown
Member Author

Merged into #790 with the rest of the stack after review; nothing lost, the commits are there.

@lmoresi lmoresi closed this Sep 27, 2026
@lmoresi
lmoresi deleted the feature/capability-guides branch September 27, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant